<?php

/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: member_markread.php 6757 2010-03-25 09:01:29Z cnteacher $
 */

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

define('NOROBOT', TRUE);

if($_G['username']) {
	DB::query("UPDATE ".DB::table('common_member')." SET lastvisit='$_G[timestamp]' WHERE uid='$_G[uid]'");
}

showmessage('mark_read_succeed', 'forum.php');

?>